﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200041B RID: 1051
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EIMDBGMFDOB : IMessage<EIMDBGMFDOB>, IMessage, IEquatable<EIMDBGMFDOB>, IDeepCloneable<EIMDBGMFDOB>, IBufferMessage
	{
		// Token: 0x17000D7C RID: 3452
		// (get) Token: 0x06002F1A RID: 12058 RVA: 0x00081D80 File Offset: 0x0007FF80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EIMDBGMFDOB> Parser
		{
			get
			{
				return EIMDBGMFDOB._parser;
			}
		}

		// Token: 0x17000D7D RID: 3453
		// (get) Token: 0x06002F1B RID: 12059 RVA: 0x00081D87 File Offset: 0x0007FF87
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EIMDBGMFDOBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000D7E RID: 3454
		// (get) Token: 0x06002F1C RID: 12060 RVA: 0x00081D99 File Offset: 0x0007FF99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EIMDBGMFDOB.Descriptor;
			}
		}

		// Token: 0x06002F1D RID: 12061 RVA: 0x00081DA0 File Offset: 0x0007FFA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EIMDBGMFDOB()
		{
		}

		// Token: 0x06002F1E RID: 12062 RVA: 0x00081DA8 File Offset: 0x0007FFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EIMDBGMFDOB(EIMDBGMFDOB other) : this()
		{
			this.oDKNCMOKFGO_ = other.oDKNCMOKFGO_;
			this.areaId_ = other.areaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002F1F RID: 12063 RVA: 0x00081DD9 File Offset: 0x0007FFD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EIMDBGMFDOB Clone()
		{
			return new EIMDBGMFDOB(this);
		}

		// Token: 0x17000D7F RID: 3455
		// (get) Token: 0x06002F20 RID: 12064 RVA: 0x00081DE1 File Offset: 0x0007FFE1
		// (set) Token: 0x06002F21 RID: 12065 RVA: 0x00081DE9 File Offset: 0x0007FFE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ODKNCMOKFGO
		{
			get
			{
				return this.oDKNCMOKFGO_;
			}
			set
			{
				this.oDKNCMOKFGO_ = value;
			}
		}

		// Token: 0x17000D80 RID: 3456
		// (get) Token: 0x06002F22 RID: 12066 RVA: 0x00081DF2 File Offset: 0x0007FFF2
		// (set) Token: 0x06002F23 RID: 12067 RVA: 0x00081DFA File Offset: 0x0007FFFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AreaId
		{
			get
			{
				return this.areaId_;
			}
			set
			{
				this.areaId_ = value;
			}
		}

		// Token: 0x06002F24 RID: 12068 RVA: 0x00081E03 File Offset: 0x00080003
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EIMDBGMFDOB);
		}

		// Token: 0x06002F25 RID: 12069 RVA: 0x00081E11 File Offset: 0x00080011
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EIMDBGMFDOB other)
		{
			return other != null && (other == this || (this.ODKNCMOKFGO == other.ODKNCMOKFGO && this.AreaId == other.AreaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002F26 RID: 12070 RVA: 0x00081E50 File Offset: 0x00080050
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ODKNCMOKFGO != 0U)
			{
				num ^= this.ODKNCMOKFGO.GetHashCode();
			}
			if (this.AreaId != 0U)
			{
				num ^= this.AreaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002F27 RID: 12071 RVA: 0x00081EA8 File Offset: 0x000800A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002F28 RID: 12072 RVA: 0x00081EB0 File Offset: 0x000800B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002F29 RID: 12073 RVA: 0x00081EBC File Offset: 0x000800BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ODKNCMOKFGO != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ODKNCMOKFGO);
			}
			if (this.AreaId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002F2A RID: 12074 RVA: 0x00081F18 File Offset: 0x00080118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ODKNCMOKFGO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ODKNCMOKFGO);
			}
			if (this.AreaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002F2B RID: 12075 RVA: 0x00081F70 File Offset: 0x00080170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EIMDBGMFDOB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ODKNCMOKFGO != 0U)
			{
				this.ODKNCMOKFGO = other.ODKNCMOKFGO;
			}
			if (other.AreaId != 0U)
			{
				this.AreaId = other.AreaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002F2C RID: 12076 RVA: 0x00081FC0 File Offset: 0x000801C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002F2D RID: 12077 RVA: 0x00081FCC File Offset: 0x000801CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 40U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.AreaId = input.ReadUInt32();
					}
				}
				else
				{
					this.ODKNCMOKFGO = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400128E RID: 4750
		private static readonly MessageParser<EIMDBGMFDOB> _parser = new MessageParser<EIMDBGMFDOB>(() => new EIMDBGMFDOB());

		// Token: 0x0400128F RID: 4751
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001290 RID: 4752
		public const int ODKNCMOKFGOFieldNumber = 4;

		// Token: 0x04001291 RID: 4753
		private uint oDKNCMOKFGO_;

		// Token: 0x04001292 RID: 4754
		public const int AreaIdFieldNumber = 5;

		// Token: 0x04001293 RID: 4755
		private uint areaId_;
	}
}
